﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using DevExpress.XtraEditors;

namespace NetRosApp.PlaPart.Views.ObracunTrazi
{
    public partial class UpitObnove : DevExpress.XtraEditors.XtraForm
    {

        public int odabir = -1;
        public int check = 0;
        public int check2 = 1;
        public UpitObnove()
        {
            InitializeComponent();
            checkEdit1.EditValue = check;
        }

        private void simpleButton2_Click(object sender, EventArgs e)
        {
            odabir = -1;
            this.Close();
        }

        private void simpleButton1_Click(object sender, EventArgs e)
        {
            odabir = comboBoxEdit1.SelectedIndex;
            check = (int)checkEdit1.EditValue;
            check2 = (int) checkEdit2.EditValue;
            this.Close();
        }
    }
}